<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="翻译平台、翻译网站、找翻译、找人翻译、法语翻译、英语翻译、日语翻译、德语翻译、意大利语翻译、俄罗斯语、翻译人员、成都翻译、成都翻译员" />
<meta name="description" content="众译，助推翻译事业，选择最佳翻译人员，最迅速、最便捷的网络翻译平台。" />
<title>Transer翻译服务网站-个人中心</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/reset.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/css.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/jquery.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/ui-lightness/jquery-ui-1.8.7.custom.css" />
<script type="text/javascript" src="<%=request.getContextPath()%>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/config.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-ui-1.8.7.custom.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/AjaxAction.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/chooselanguage.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/industry.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/passport/service/js/deletepair.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/passport/service/js/companysetup.js"></script>
<script type="text/javascript">
var context = '<%=request.getContextPath()%>';
</script>
</head>
<body>
<div class="layout">
<jsp:include page="/include/head/top.jsp"/>
<jsp:include page="/include/head/top_nav.jsp"/>
<div class="content">
	<jsp:include page="../left.jsp" >
		<jsp:param value="2" name="parent"/>
		<jsp:param value="7" name="child"/>
	</jsp:include>
	<div class="col_r">
	<s:if test="%{#session.SESSION_USER.companyNotSetup()}">
	    <div class="tip t">
		    	<p>请完善您的个人资料以便让更多的需求者找到您。</p>
		</div>
    </s:if>
    <div class="steps">
	     <div id="tab1" class="step_part">
			 <h1><a href="#" onmouseover="setTab(1,0)" class="current">公司信息设置</a></h1>
		 </div>
	<div id="box1">
	<div class="box block">
	<table class="table_data" id="display_table">
		<tr>
		    <td align="right">公司名称：</td>
		    <td colspan="2"><s:property value="%{#session.SESSION_USER.companyName}"/></td>
	    </tr>
	    <tr>
		    <td align="right">公司注册号：</td>
		    <td colspan="2"><s:property value="%{#session.SESSION_USER.companyNumber}"/></td>
	    </tr>
	    <tr>
		    <td align="right">公司联系电话：</td>
		    <td colspan="2"><s:property value="%{#session.SESSION_USER.contactPhone}"/></td>
	    </tr>
	    <tr>
		    <td align="right">公司简介：</td>
		    <td>
		    <s:property value="%{#session.SESSION_USER.aboutme}" escapeHtml="false"/>
		    </td>
		    <td></td>
	    </tr>
	</table>
	<form action="<%=request.getContextPath()%>/passport/company_setup" id="edit_form" enctype="application/x-www-form-urlencoded" method="post">
		<table class="table_data" id="eidt_table" style="display: none;">
			<tbody>
				<tr>
				    <td align="right">公司名称：</td>
				    <td colspan="2"><input type="text" class="intxt" name="dump.companyName" value="<s:property value="%{#session.SESSION_USER.companyName}"/>"/></td>
			    </tr>
			    <tr>
				    <td align="right">公司注册号：</td>
				    <td colspan="2"><input type="text" class="intxt" name="dump.companyNumber" value="<s:property value="%{#session.SESSION_USER.companyNumber}"/>"/></td>
			    </tr>
			    <tr>
				    <td align="right">公司联系电话：</td>
				    <td><input type="text" class="intxt" name="dump.contactPhone" value="<s:property value="%{#session.SESSION_USER.contactPhone}"/>"/></td>
				    <td><span>例:02884833442</span></td>
			    </tr>
			    <tr>
				    <td align="right">公司简介：</td>
				    <td>
				    <textarea class="areatext" name="dump.aboutme"><s:property value="%{#session.SESSION_USER.aboutme}"/></textarea>
				    </td>
				    <td><span>可使用标签例如&lt;a href="#"&gt;&lt;/a&gt;</span></td>
			    </tr>
			</tbody>
		</table>
	</form>
	<div class="button_center" id="div_edit">
		<input type="button" class="editbtn" value=""/>
	</div>
	<div class="button_center" id="div_save" style="display: none;">
		<input type="button" class="savebtn" value=""/>&nbsp;&nbsp;&nbsp;<input type="button" class="cancelbtn" value="取消"/>
		<div class="button_center" id="div_loading" style="display: none;">
			<img src="<%=request.getContextPath() %>/images/loading.gif" alt="loading" /><span>正在保存数据,请稍等...</span>
		</div>
		<div class="button_center" id="div_message"></div>
	</div>
	</div>
        <div class="box none">News Box</div>
        <div class="box none">Article Box</div>
	</div>
	</div>
    </div>
</div>
<jsp:include page="/include/foot/foot.jsp" />
</div>
</body>
</html>
